const webpack = require("./webpack");
const webpackOptions = require("./webpack.config");
debugger
const compiler = webpack(webpackOptions);
compiler.run((err, stats) => {
    console.log(err);
    console.log(
        stats.toJson({
            entries: true, //entriespoints入口
            chunks: true, //代码块
            modules: true, //打包后的模块的数组
            assets: true //本次产出的文件
        })
    );
});